/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.upc.dew.sisrest.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pe.edu.upc.dew.sisrest.dao.RecetaDao;
import pe.edu.upc.dew.sisrest.model.Receta;
import pe.edu.upc.dew.sisrest.service.RecetaManager;

/**
 *
 * @author u201014509
 */
@Service
public class RecetaManagerImpl implements RecetaManager {

    @Autowired
    RecetaDao recetaDao;

    @Override
    public List<Receta> obtenerRecetas() {
        return recetaDao.obtenerRecetas();
    }
}
